
import { request } from "@/http/axios"

export interface TagOption {
  name: string
  [key: string]: any
}

export function getTaskTagApi(params:any) {
  return request<ApiResponseData<TagOption[]>>({
    url: "/toksim/model/tag/list",
    method: "post",
    data: params
  })
}

export function addTagApi(data:any) {
  return request({
    url: `/toksim/model/tag/add`,
    method: "post",
    data
  })
}